class CreateNavigations < ActiveRecord::Migration
  def change
    create_table :navigations do |t|
      t.string :text
      t.integer :parent_id
      t.integer :lft
      t.integer :rgt
      t.integer :depth
      t.boolean :leaf, default: true
      t.boolean :expanded, default: true
      t.string :icon_cls, default: 'question-circle'
      t.string :glyph, default: '0xf059'
      t.string :model
      t.string :url
      t.string :module, default: 'simplegrid'
    end
  end
end
